function estimatedNumberOfPeople = estimate(frame, averagePersonSize)
    [H, W] = size(frame);

    % Calculates the white pixels
    whitePx = nnz(frame);
    blackPx = (H * W) - whitePx;
    
    % Estimates how many people are present in the frame
    estimatedNumberOfPeople = idivide(int32(whitePx), int32(averagePersonSize));
end

